package com.thinkit.bigdata.web.model.sec;

import java.util.ArrayList;
import java.util.List;

public class TreeNode {

    private static final long serialVersionUID = 1L;

    private String id;
    private String label;
    private List<TreeNode> items = new ArrayList<>();
    private String value;
    private boolean expanded = false;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public List<TreeNode> getItems() {
        return items;
    }

    public void setItems(List<TreeNode> items) {
        this.items = items;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public boolean isExpanded() {
        return expanded;
    }

    public void setExpanded(boolean expanded) {
        this.expanded = expanded;
    }
}
